package com.autonavi.yunda.yunji.core.model.condition;

import com.autonavi.yunda.yunji.core.enums.RoleType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author cizhong.wcs
 * @date 2023/9/5 19:36
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserQueryCondition {
    private String userId;
    private String nickName;
    private String lastName;
    private RoleType userRole;
    @NotNull
    public Integer pageNo;
    @NotNull
    public Integer pageSize;
}
